package com.nw.service;

import com.nw.entity.User;

import java.util.HashMap;
import java.util.List;

public interface UserService {
    /**
    *查询用户
     * */
    HashMap<String, Object> queryByUsername(User user, String enCode);
    /**
     *添加用户
     * */
    HashMap<String ,Object> add(User user);
    /**
     * 判断用户是否存在
     * */
    HashMap<String, Object> userExist(String username);
    /**
     *
     * user左连like
     *
     * */
    List<User> queryByUsernameLeftJoinLike(String username);




}
